﻿using Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IService
{
    public interface IPublicAttachmentsService
    {
        Task AddAsync(SysOrgPublicAttachments attachment);

        /// <summary>
        /// 根据附件编号查询附件列表
        /// </summary>
        /// <param name="annexCode">附件编号</param>
        /// <returns>附件列表</returns>
        Task<List<SysOrgPublicAttachments>> GetByAnnexCodeAsync(string annexCode);
    }
}
